package com.util;

public class NumUtil {
	public static int parseInt(String i, int replace) {
		int value = replace;
		try {
			int temp = Integer.parseInt(i);
			if (temp > 0) {
				value = temp;
			}
		} catch (Exception e) {
			
		}
		return value;
	}
}
